import Vue from "vue";
import router from "./router";
import store from "./store";
import App from "./App.vue";

Vue.config.productionTip = false;

router.beforeEach((to, from, next) => {
  console.log("[beforeEach]", to, from);
  next();
});

router.afterEach((to, from) => {
  console.log("[afterEach]", to, from);
});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
